home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
2_8.lha
/
2_8
/
2_8a2.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
344b
|
14 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
ong *ip, ivar;
out << "Type = long\n";
or (offset = 0; offset < sizeof(long); offset++)
{
cout << "\toffset = " << offset;
ip = (long *)&foovar.a[offset];
ivar = *ip;
cout << "\n";
}